function GetList(ele, cid, limit, tnum, anum, showurl, keywords, type) {
var body = $(ele); //滑动主体
var timer = null;
$(document).scroll(function (e) {
totalheight = parseFloat($(window).height()) + parseFloat($(window).scrollTop());
if ($(document).height() - 10 <= totalheight) {
clearTimeout(timer);
timer = setTimeout(function () {
GetData(body, cid, limit, tnum, anum, showurl, keywords, type);
}, 800)
}
})
}
function GetData(el, cid, limit, tnum, anum, showurl, keywords, type) {
var btn = $(".more");
var linum = $(el).children().length;
$.ajax({
url: "do-10.html",
type: 'POST',
data: {
cid: cid,
limit: limit,
tnum: tnum,
anum: anum,
showurl: showurl,
keywords: keywords,
limitstart: linum
},
async: false,
success: function (data) {
var da = JSON.parse(data);
var option = '';
if (da.flag == 200 || da.flag == 210) {
d = da.data;
btn.html("");
setTimeout(function () {
for (var i = 0; i < d.length; i++) {
if (type == 1) {
// 解决方案
option = '